CCC       = g++
CCFLAGS  += -std=c++98 -pedantic -Wall -Wextra
OBJECTS = Expression.o Expression_Tree.o

all: $(OBJECTS)
	$(CCC) $(CCFLAGS) $(CPPFLAGS) -o test-expression $(OBJECTS)

Expression.o: Expression.h Expression.cc
	$(CCC) $(CCFLAGS) -c Expression.cc
	
Expression_Tree.o: Expression_Tree.h Expression_Tree.cc
	$(CCC) $(CCFLAGS) -c Expression_Tree.cc
	
expression_utils.o: /expression_utils.h /expression_utils.cc
	$(CCC) $(CCFLAGS) -c expression_utils.cc